package com.huhao.concurrency.example.mq.kafka;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Description
 * KafkaReceiver接收端
 * @Author 胡浩
 * @Date 2020/6/1
 **/
@Component
@Slf4j
public class KafkaReceiver {

//    @KafkaListener(topics = {TopicConstants. TEST})
//    public void receive (ConsumerRecord<?, ?> record) {
//        log.info(" record:{}", record);
//    }

}
